package io.nutz.nutzsite.module.job.models;

import java.io.Serializable;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Default;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.One;
import org.nutz.dao.entity.annotation.Table;
		
/**
 * 已交作业表 job_sned
 * 
 * @author lrw
 * @date 2020-03-06
 */
@Table("job_jobed")
public class Jobed implements Serializable {
	private static final long serialVersionUID = 1L;
	
			@Id
		@Column("id")
	@Comment("已交ID")
	private Integer id;
			@One(field = "snid", key = "id")
	         public Jobpub snpub;
			/** 作业任务号 */
	@Column("snid")
	@Comment("作业任务号")
	private String snid;

			/** 作业人uid */
	@Column("uid")
	@Comment("作业人uid")
	private String uid;

			/** 交作业ip */
	@Column("snip")
	@Comment("交作业ip")
	private String snip;

			/** 提交时间 */
	@Column("sntime")
	@Comment("提交时间")
	private Date sntime;

			/** 交作业状态：-1未交，0正常，否则为迟交分钟数 */
	@Column("status")
	@Comment("交作业状态：-1未交，0正常，否则为迟交分钟数")
	@Default("-1")
	private Integer status;

			/** 作业内容 */
	@Column("content")
	@Comment("作业内容")
	private String content;
	@Column("score")
	@Comment("作业成绩")
	private Integer score;
	@Column("comment")
	@Comment("作业评价")
	private String comment;
	
	@Column
	@Default("0")
	private boolean isrejob;
	@Column
	private String checkby;
	@Column
	private Date checktime;
	
	private String title;
	private Date snstarttime;
	private Date snendtime;
	
	public Jobpub getSnpub() {
		return snpub;
	}

	public void setSnpub(Jobpub snpub) {
		this.snpub = snpub;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Date getSnstarttime() {
		return snstarttime;
	}

	public void setSnstarttime(Date snstarttime) {
		this.snstarttime = snstarttime;
	}

	public Date getSnendtime() {
		return snendtime;
	}

	public void setSnendtime(Date snendtime) {
		this.snendtime = snendtime;
	}

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}

	public void setSnid(String snid) 
	{
		this.snid = snid;
	}

	public String getSnid() 
	{
		return snid;
	}

	public void setUid(String uid) 
	{
		this.uid = uid;
	}

	public String getUid() 
	{
		return uid;
	}

	public void setSnip(String snip) 
	{
		this.snip = snip;
	}

	public String getSnip() 
	{
		return snip;
	}

	public void setSntime(Date sntime) 
	{
		this.sntime = sntime;
	}

	public Date getSntime() 
	{
		return sntime;
	}

	public void setStatus(Integer status) 
	{
		this.status = status;
	}

	public Integer getStatus() 
	{
		return status;
	}

	public void setContent(String content) 
	{
		this.content = content;
	}

	public String getContent() 
	{
		return content;
	}

	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public boolean isIsrejob() {
		return isrejob;
	}

	public void setIsrejob(boolean isrejob) {
		this.isrejob = isrejob;
	}

	public String getCheckby() {
		return checkby;
	}

	public void setCheckby(String checkby) {
		this.checkby = checkby;
	}

	public Date getChecktime() {
		return checktime;
	}

	public void setChecktime(Date checktime) {
		this.checktime = checktime;
	}


}
